package com.example.pay_service.service.impl;

import com.example.pay_service.Dao.CardDao;
import com.example.pay_service.service.CardService;
import com.example.pay_service.vo.Card;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @title: CardServiceimpl
 * @projectName mall
 * @description: TODO
 * @author TLJ
 * @date 2021/12/916:59
 */
@Service
public class CardServiceimpl implements CardService {
    @Autowired
    CardDao dao;

    @Override
    public List<Card> showcar(int user_id) {
        return dao.showcard(user_id);
    }
}
